package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * @author chencfgs
 * @date 2019-12-04 9:31
 */
public interface OrderSettingDao {

    public void add(OrderSetting orderSetting);

    public void editNumberByOrderDate(OrderSetting orderSetting);

    public long findCountByOrderDate(@Param("orderDate") Date orderDate);

    List<OrderSetting> getOrderSettingByMonth(HashMap map);

    void editReservationsByOrderDate(OrderSetting orderSetting);

    OrderSetting queryByDate(Date date);

}
